const layout = () => import("@/views/layout");
// 用户管理
const users = () => import("@/views/system/users");
// 角色管理
const role = () => import("@/views/system/role");
// 权限管理
const permission = () => import("@/views/system/permission");
// 组织管理
const organize = () => import("@/views/system/organize");
// 参数管理
const params = () => import("@/views/system/params");
// 算法管理
const algorithm = () => import("@/views/system/algorithm");
// 日志管理
const logs = () => import("@/views/system/logs");
// 诊改对象管理
const rectificationObject = () => import("@/views/system/rectificationObject");


export default {
    path: '/system',
    component: layout,
    name: 'systemIndex',
    meta: {
        title: '系统管理',
        auth: true,
        id: ''
    },
    children: [
        {
            path: 'users',
            component: users,
            name: 'users',
            meta:{
                title:'用户管理',
                auth: true,
                id: ''
            }
        },
        {
            path: 'role',
            component: role,
            name: 'role',
            meta:{
                title:'角色管理',
                auth: true,
                id: ''
            }
        },
        {
            path: 'permission',
            component: permission,
            name: 'permission',
            meta:{
                title:'权限管理',
                auth: true,
                id: ''
            }
        },
        {
            path: 'organize',
            component: organize,
            name: 'organize',
            meta:{
                title:'组织管理',
                auth: true,
                id: ''
            }
        },
        {
            path: 'params',
            component: params,
            name: 'params',
            meta:{
                title:'参数管理',
                auth: true,
                id: ''
            }
        },
        {
            path: 'algorithm',
            component: algorithm,
            name: 'algorithm',
            meta:{
                title:'算法管理',
                auth: true,
                id: ''
            }
        },
        {
            path: 'logs',
            component: logs,
            name: 'logs',
            meta:{
                title:'日志管理',
                auth: true,
                id: ''
            }
        },
        {
            path: 'rectificationObject',
            component: rectificationObject,
            name: 'rectificationObject',
            meta:{
                title:'诊改对象管理',
                auth: true,
                id: ''
            }
        }
    ]
}